﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PackageEditor
{
	public partial class RegValueForm : Form
	{
		public RegValueForm(string name, string value)
		{
			InitializeComponent();
			textBox1.Text = name;
			textBox2.Text = this.value = value;
		}

		public string value = "";

		private void button1_Click(object sender, EventArgs e)
		{
			this.value = textBox2.Text;
			DialogResult = DialogResult.OK;
		}

		private void button2_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.Cancel;
		}
	}
}
